function eWebEditProExecCommand(sEditorName, strCmdName, strTextData, lData) {
	if (window[strCmdName]) {
		window[strCmdName](sEditorName, strCmdName, strTextData, lData);
	}
}

<cfif fileExists(expandPath("/common/eWebEditProCustomTemplates/horizontalRule.html"))>
<cffile action="READ" file="#expandPath("/common/eWebEditProCustomTemplates/horizontalRule.html")#" variable="tmpFile">
<cfwddx action="CFML2JS" input="#trim(replace(tmpFile, chr(13), "", "ALL"))#" output="outputVar" toplevelvariable="horizontalRule">
<cfoutput>#outputVar#</cfoutput>

function customhr(sEditorName, strCmdName, strTextData, lData) {
	eWebEditPro.instances[sEditorName].editor.pasteHTML(horizontalRule);
}

</cfif>


<cfif fileExists(expandPath("/common/eWebEditProCustomTemplates/brClear.html"))>
<cffile action="READ" file="#expandPath("/common/eWebEditProCustomTemplates/brClear.html")#" variable="tmpFile">
<cfwddx action="CFML2JS" input="#trim(replace(tmpFile, chr(13), "", "ALL"))#" output="outputVar" toplevelvariable="brClear">
<cfoutput>#outputVar#</cfoutput>

function custombr(sEditorName, strCmdName, strTextData, lData) {
	eWebEditPro.instances[sEditorName].editor.pasteHTML(brClear);
}

</cfif>
